Two types of exceptions may occur when running an automated process: predictable or unexpected. Based on this distinction, there are two ways of addressing exceptions, either by explicit actions executed automatically within the workflow or by escalating the issue to a higher level.

The best practices for handling errors are: